import React from 'react'
import List from '../../components/list'
import { SearchBar } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'
function Index() {
  const navigate = useNavigate()
  return (
    <div>
      <div onClick={() => navigate('/search')}>
        <SearchBar placeholder='请输入内容' />
      </div>

      <List></List>
    </div>
  )
}

export default Index
